package org.jeecg.modules.project.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 商机管理
 * @Author: jeecg-boot
 * @Date:   2025-08-21
 * @Version: V1.0
 */
@Data
@TableName("crm_project")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="crm_project对象", description="商机管理")
public class Project {
    
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private java.lang.String id;
	/**sys_user表id*/
	@Excel(name = "sys_user表id", width = 15)
    @ApiModelProperty(value = "sys_user表id")
	private java.lang.String userId;
	/**项目编号*/
	@Excel(name = "项目编号", width = 15)
    @ApiModelProperty(value = "项目编号")
	private java.lang.String projectNum;
	/**项目名称*/
	@Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
	private java.lang.String projectName;
	/**发布时间*/
	@Excel(name = "发布日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "发布日期")
	private java.util.Date pubDate;
	/**报名结束时间*/
	@Excel(name = "报名结束时间", width = 15)
    @ApiModelProperty(value = "报名结束时间")
	private java.lang.String registrationDeadline;
	/**预算(元)*/
	@Excel(name = "预算(元)", width = 15)
    @ApiModelProperty(value = "预算(元)")
	private java.math.BigDecimal budget;
	/**采购人id*/
	@Excel(name = "采购人id", width = 15)
    @ApiModelProperty(value = "采购人id")
	private java.lang.String purchasingAgentId;
	/**采购人名称*/
	@Excel(name = "采购人名称", width = 15)
    @ApiModelProperty(value = "采购人名称")
	private java.lang.String purchasingAgentName;
	/**代理机构id*/
	@Excel(name = "代理机构id", width = 15)
    @ApiModelProperty(value = "代理机构id")
	private java.lang.String agencyId;
	/**代理机构名称*/
	@Excel(name = "代理机构名称", width = 15)
    @ApiModelProperty(value = "代理机构名称")
	private java.lang.String agencyName;
	/**原始网址*/
	@Excel(name = "原始网址", width = 15)
    @ApiModelProperty(value = "原始网址")
	private java.lang.String url;
	/**招标内容详细信息*/
	@Excel(name = "招标内容详细信息", width = 15)
    @ApiModelProperty(value = "招标内容详细信息")
	private java.lang.Object content;
	/**标签*/
	@Excel(name = "标签", width = 15)
    @ApiModelProperty(value = "标签")
	private java.lang.String tag;
	/**分类*/
	@Excel(name = "分类", width = 15)
    @ApiModelProperty(value = "分类")
	private java.lang.String type;
	/**删除状态（0，正常，1已删除）*/
	@Excel(name = "删除状态（0，正常，1已删除）", width = 15)
    @ApiModelProperty(value = "删除状态（0，正常，1已删除）")
	@TableLogic
	private java.lang.String delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;


	@TableField(exist = false)
	private String realname;//负责人
	@TableField(exist = false)
	private String resultName;//中标公司
	@TableField(exist = false)
	private String expertName;//专家名称
}
